Package au.com.bluedot.point.net.engine

Contains main classes to use Bluedot SDK as ServiceManager, GeoTriggerService and TempoService classes

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class AppState(    val locationPermission: LocationPermission,     val notificationPermission: NotificationPermission,     val batteryLevel: Int,     val lastRuleUpdate: Instant?,     val viewState: ViewState,     val foregroundServiceEnabled: Boolean) : Parcelable

AppState stores the state of the Application when the event(Entry/Exit) was triggered by the SDK

Link copied to clipboard
abstract class BDError : Parcelable
Link copied to clipboard
abstract class BluedotServiceReceiver : BroadcastReceiver

A receiver for Bluedot SDK service events.

Link copied to clipboard
data class FenceInfo(    val id: String?,     val name: String?,     val applicationId: String?,     val geometry: Geometry?,     val description: String?) : Parcelable

FenceInfo contains details of each fence created inside a zone

Link copied to clipboard
abstract class GeoTriggeringEventReceiver : BroadcastReceiver

A receiver for GeoTriggering events.

Link copied to clipboard
class GeoTriggeringService

GeoTriggeringService class is used to use GeoTriggering feature from bluedot SDK which includes reporting zone entry and exit events

Link copied to clipboard
fun interface GeoTriggeringStatusListener

Provides callbacks on ServiceManager.startGeoTriggering&ServiceManager.stopGeoTriggering

Link copied to clipboard
fun interface InitializationResultListener

Provides callbacks on ServiceManager.initialize

Link copied to clipboard
data class LocationInfo(    val latitude: Double,     val longitude: Double,     speed: Float,     bearing: Float,     val timeStamp: Long) : Parcelable
Link copied to clipboard
enum NotificationPermission : Enum<NotificationPermission>
Link copied to clipboard
fun interface ResetResultReceiver

Provides callbacks on ServiceManager.reset

Link copied to clipboard
class ServiceManager
Service manager is used to interact with Bluedot Point Service
Link copied to clipboard
class TempoService

TempoService class is used to use Tempo feature from bluedot SDK which includes reporting tempo update and tempo stop events on a defined interval

Link copied to clipboard
fun interface TempoServiceStatusListener

Provides callbacks on TempoService.start

Link copied to clipboard
abstract class TempoTrackingReceiver : BroadcastReceiver

A receiver for Tempo events.

Link copied to clipboard
enum ViewState : Enum<ViewState>
Link copied to clipboard
class ZoneInfo(    val zoneId: String?,     val zoneName: String?,     val isCheckOut: Boolean?,     val destination: Destination? = null,     fences: HashSet<FenceInfo> = HashSet(),     enabled: Boolean = true,     customData: Map<String, String>? = null,     val description: String? = null) : Parcelable

ZoneInfo stores zone details for every zone downloaded by SDK from Rule Download.